package com.zq.fanxing;

public class FanXingMethods {
    public static <T> void pringArray(T[] arr){
        StringBuffer sb = new StringBuffer();
        sb.append("[");
        for (int i = 0; i < arr.length; i++) {
            sb.append(i==arr.length-1?arr[i]:arr[i]+",");
        }
        sb.append("]");
        System.out.println(sb);
    }
}
